package cn.idietrade.idietradealipaymodule8012.util;

/**
 * 支付配置信息
 * @author cxt
 * @date 2021/11/20
 */
public class AlipayConfig {
    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号,开发时使用沙箱提供的APPID，生产环境改成自己的APPID
    public static String APP_ID = "2021000121623760"; // AppID

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String APP_PRIVATE_KEY = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCPzBvzx2DNvxBwlhlPR3Y7LTVtxVGpuV98c7T6EK2qorWaCL1gN2rGJpfAIDJRGMSmzeMl2vHqZ2wgTIfOeqa0fOSintjRycjBubrkLYamFXNDPwNzdFBKw6MYmesZ2dZan6fqrcOyIWazKoL0ZcfZIbKkAPufsUD/ZJK3DCTKXSxY3tY5y0Z2jIN2QJrZYmWlX7Jy6gUC5gH+kx9oHFnulwOK58VnQxxuu8Ld4/eRqKSpMhHO33VG7WuriM+5tP4f/k8lumU4SIph3TJa9qrZmPTh3z1vPeRdmqUTyWLgHfIT6Z6leLVNv1CwwAyJ7zkB/z06ipo3dCsxqC1iR0YBAgMBAAECggEAE9HVNHeRnyorkOkPWf8Gi8eCarvcsqELSTMFicYMuc0tbKqxt3ZL8D3XgrKtXMImMLuGCGyyFVXl8Fm8Cjibi5r/RG7Sga/nTNRVryebPH8OYQFpb1tjybpHW5ezcN+2jM0ertj+dSnnZuCAJkF1Fzdu0O4VwIAE7m6lTjeNRpr2F6g0OdHyBjy+66g2p0JDwkgzIRnMX/cdEV0rvbGicOq5qzAkTkHijjmC3Qc72MKL8oKEOJ7VGg61BmqHorW/9P5cXG1S1Ea7HNhzdMav8/diFBgzsf3uMSDXV9DeHo0iPCv2T4BXk5s7rv6LkjtQU3nUnFhvMn214x/Oe0qCsQKBgQDH1dnvA66l+nkuKpv/7/oV2zsY2vVvC5MA0I1DtrWP8tVW622y4+ps1GBL2NljoGQjGFrs2RwtUqWsBX9dJs79WeQrncGyqovUkK403BrIWPlZ3QRu28WkZc7uhG8eBgXiZ8ghb/83AIIn9tof5C9qnP5nzzu/XJBktQSlXhGRjQKBgQC4NlI/b0xUEswGIQPZTeCA3CPvvYI34dtLFA5ivUs8+UIDEGQQ6ikUQ/HzXNZoEk0vxf59GF12H8KS+vxwErQMUNHqxWTzdv3+61quyZa91vBudEDd/OD2gfR0FTLvI2ddNBMil1DhEeYzvoLbtMXiNeWYkStxNCL+CftQJ4z3RQKBgEGTeZqneK5azV1K+jo4g7acZH45jATOpYTE6zZnRJliNIP7adokVI81+gups1ywC2xA18WVUVvGHTuf6jWlQJN+5hMyB5gbwxsUBzata9SG7fyBPK0sTWUvS4KVzujpTREIwXHHkNZ5wjxfEyEX/j9cGVfzd0XKmE+T31xszBMZAoGAD81pJNPxYkzyf5wZbmzF04gO9SP2pcCURU6FJWdDqwle5lBjpSfROlHR0aSnJ+paAL0lZanParCyylUJjrusAlp0h4VDcbdFdrbN4qycZ9Cmc3M5lVF6IutnAwZGhkktNsue0JrWb1hPvSScqShKyWsCNSJO7bkhP1Wv32JlL1kCgYBPgmxEJZZvyGLMHLnoZ2BiQQa0aQuILdFPQtkDsvfxqQiXDtIyGukshqsm4bxxTWS1YYlQQTX0kjif3q7lUo4YuPmuiz3wPThiBH+O6egorqggZyqDwEQPUH1n8SNbGPxTVl6Kc8+YLM4D2x20y4NyTs7c/hH9yAJybBALNmSAcA=="; // 写你商户私钥

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgFthW4GK7pU2HHm/OGPiVjgKZDwaoX2MB107XA+7m8cB37Tpf7NLaybOR9xre4mj8NhZG2Ct83bHDNQLWmscyk1hb/dXMv5YhdwaCFOGG8YmS6kOc5NvH2nIq9ny+nE7Obxyb4h20mNB2uPhKOPmhtH3WlnbWFVGXAVZpSbClcZ23wzImxtKxOYMrEo/wxTHDPVqN4ba5NnlMSgURUEfg3LfChiKN6R1822boyS+cDtDxmUebAJ0TvnD9OwWXM5u/3ryxnvFYfgkZqSFX67pVsjJm9pwpYSiAWsFxqvtGkc72fsUxPFjduJtcaQma+wZmWHBRw/uwaYaTBakbbAisQIDAQAB"; // 写你的支付宝公钥

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String CHARSET = "utf-8";

    // 支付宝网关，这是沙箱的网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    // 服务器异步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问(开发环境时可以使用内网穿透工具，有很多，自行度)
    public static String notify_url = "http://127.0.0.1:8012/alipay/notifyUrl"; // 写你接受通知的接口地址

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问(其实就是支付成功后返回的页面)
    public static String return_url = "http://127.0.0.1:8012/alipay/returnUrl"; // 写你在支付成功之后进入的页面地址

    // 支付宝网关
    public static String log_path = "C:\\";
}
